package com.demo.dune.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import com.demo.dune.domain.Member;

/**
 * MemberRepository.
 * @author Allen
 * @version 1.0 2022-04-03
 */
public interface IMemberRepository extends JpaRepository<Member, String> {

	/**
	 * findByCode.
	 * @param code
	 * @return Member
	 */
	Member findByCode(String code);
	
	/**
	 * findByName.
	 * @param name
	 * @return Member
	 */
	Member findByName(String name);
	
}
